package com.hdyg.sixg.mvp.Contrant;

import com.hdyg.sixg.entry.BuySellDetailBean;
import com.hdyg.sixg.entry.ImageBean;
import com.hdyg.sixg.mvp.base.BaseView;

import java.io.File;
import java.util.Map;

/**
 * @author CZB
 * @describe 购买详情
 * @time 2019/4/12 9:54
 */
public interface CBuyDetail {

    interface IVBuyDetail extends BaseView{
        void vGetInitSuccess(BuySellDetailBean dataBean);   //初始化
        void vGetUploadImgSuccess(ImageBean dataBean);      //上传图片
        void vGetApplyBuyDetailSuccess(String dataBean);    //确认提交
    }

    interface IPBuyDetail {
        void pGetInit(String path, Map<String, String> params);
        void pGetUploadImg(String path, File file, String fileKey, Map<String, String> params);
        void pGetApplyBuyDetail(String path, Map<String, String> params);
    }
}
